package com.eastelsoft.smartiot.bssserver.service.impl;

import com.eastelsoft.smartiot.bssserver.dao.TCmUserAccountMapper;
import com.eastelsoft.smartiot.bssserver.domain.TCmUserAccount;
import com.eastelsoft.smartiot.bssserver.service.TUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@SuppressWarnings("ALL")
@Service
public class TUserServiceImpl implements TUserService {
    @Autowired
    private TCmUserAccountMapper tCmUserAccountMapper;


    @Override
    public TCmUserAccount findByAcount(String account) {

        return tCmUserAccountMapper.selectByAccount(account);
    }

    @Transactional
    public void updatePwd(String account, String new_pwd) {

    }

    @Override
    public Boolean findUserAndCompanyByAcount(String mobile) {
        return null;
    }
}
